<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script charset="utf-8" src="{hd:$smarty.const.__ROOT__}Blog/Admin/Org/kindeditor/kindeditor.js"></script>
	<script charset="utf-8" src="{hd:$smarty.const.__ROOT__}Blog/Admin/Org/kindeditor/lang/zh_CN.js"></script>
	<script>
        KindEditor.ready(function(K) {
                window.editor = K.create('#editor_id');
        });
	</script>
	<style>
	
	</style>
</head>
<body>
	<form action="" method="post" enctype="multipart/form-data">
		<table border="1" width="100%" height="100%" cellspacing="0">
			<tr>
				<th>标题</th>
				<td><input type="text" name="title"></td>
			</tr>
			<tr>
				<th>栏目</th>
				<td>
					<select name="cid" id="">
						{hd:section loop=$cate name=d}
						<option value="{hd:$cate[d].cid}">{hd:$cate[d].catname}</option>
						{hd:/section}
					</select>
				</td>
			</tr>
			<tr>
				<th>缩略图</th>
				<td><input type="file" name="thumb"></td>
			</tr>
			<tr>
				<th>正文</th>
				<td>
					<textarea id="editor_id" name="content" style="width:700px;height:300px;">
						&lt;strong&gt;HTML内容&lt;/strong&gt;
					</textarea>
				</td>
			</tr>
			<tr>
				<th>点击数</th>
				<td><input type="text" name="click"></td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="添加博客"></td>
			</tr>
		</table>
	</form>
</body>
</html>